package com.example.readbook.Bean;

/**
 * Package    : com.example.readbook.Bean
 * ClassName  : BookBean
 * Description: $书籍信息类
 * Date       : 2019/3/22 11:59
 */
public class BookBean {
    private int     id = -1;
    private String  BookName; //书名
    private String  color;//背景颜色
    private String  BookAddress;//书籍地址
    private String  size;//长度
    private boolean isChoose;//是否选中

    public BookBean(int id, String bookName, String color, String bookAddress, String size) {
        this.id = id;
        BookName = bookName;
        this.color = color;
        BookAddress = bookAddress;
        this.size = size;
        isChoose = false;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public BookBean(String bookName, String color, String bookAddress, String wordNum) {
        BookName = bookName;
        this.color = color;
        BookAddress = bookAddress;
        size = wordNum;
        isChoose = false;
    }

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    public String getBookName() {
        return BookName;
    }

    public void setBookName(String bookName) {
        BookName = bookName;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getBookAddress() {
        return BookAddress;
    }

    public void setBookAddress(String bookAddress) {
        BookAddress = bookAddress;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
}
